<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    var java = "";

    function receiveMsg(param) {
        console.log(JSON.stringify(param))
        console.log(param.func)
        console.log(param.param)
        // param.func(param.param)
        eval(param.func + "()")
    }

    function addBtn() {
        let btn = document.createElement("button")
        btn.innerText = "投屏窗口的按钮"
        document.body.appendChild(btn);
    }
</script>
</html>